//
//  UIView+CL.m
//  IntegralMall
//
//  Created by 朱跃龙 on 2017/9/26.
//  Copyright © 2017年 朱跃龙. All rights reserved.
//

#import "UIView+CL.h"

@implementation UIView (CL)

+ (UIView *)addLineView{
    
    UIView *view = [[UIView alloc] init];
    
    view.backgroundColor = [UIColor grayColor];
    
    return view;
    
}

+ (UIView *)addLineViewColor:(UIColor *)color{
    
    UIView *view = [[UIView alloc] init];
    
    view.backgroundColor = color;
    
    return view;
    
    
}

+ (UIView *)addViewWithFrame:(CGRect)frame WithBackgroundColor:(UIColor *)color{
    
    UIView *view = [[UIView alloc] initWithFrame:frame];
    
    view.backgroundColor = color;
    
    return view;
    
    
}


@end
